/// API 接口管理
class RequestApi {
  /// request 成功接口
  static const String requestSuccess = '0000000';

  static const String baseUrl = 'https://api.hjyiyuanjiankang.com/';
  // static const String baseUrl = 'http://192.168.1.62:18080/';

  /// 登录
  static const String login = 'merchant/oauth/token';

  /// 图形验证码
  static const String captcha = 'merchant/open/captcha'; //测试地址

  /// 权限菜单
  static const String permissions = 'merchant/resource/sidebar';

  /// 短信验证码
  static const String smsCode = 'merchant/open/sendRegLoginMsg';

  /// 文件上传
  static const String fileUpload = 'content/filesUpload';

  //=====================================================================
  /// 用户列表
  static const String userList = 'content/customer/page';

  /// 新增用户
  static const String addUser = 'content/customer/add';

  /// 用户信息详情
  static const String findUser = 'content/customer/info';

  /// 修改用户
  static const String updateUser = 'content/customer/update';

  /// 删除用户
  static const String deleteUser = 'content/customer/delete';

  //=====================================================================
  /// 查询用户订单列表通过用户id
  static const String findOrderList = 'content/customerOrder/page';

  /// 新增订单
  static const String addOrder = 'content/customerOrder/add';

  /// 删除用户订单
  static const String deleteOrder = 'content/customerOrder/delete';

  /// 修改用户订单
  static const String updateOrder = 'content/customerOrder/update';

  //=====================================================================
  /// 通过用户id获取用户会议列表
  static const conferenceList = 'content/customerConference/page';

  /// 新增参会记录
  static const String addConference = 'content/customerConference/add';

  /// 删除参会记录
  static const String deleteConference = 'content/customerConference/delete';

  /// 修改参会记录
  static const String updateConference = 'content/customerConference/update';

  //=====================================================================
  /// 通过用户id获取用户出库记录
  static const String outboundList = 'content/userDeliver/page';

  /// 新增出库记录
  static const String addOutbound = 'content/userDeliver/add';

  /// 删除出库记录
  static const String deleteOutbound = 'content/userDeliver/delete';

  /// 修改出库记录
  static const String updateOutbound = 'content/userDeliver/update';

  //=========================================================================================
  //=========================================================================================
  //=========================================================================================

  /// 经销商列表
  static const String distributorList = 'content/customerInfo/page';

  /// 新增经销商
  static const String addDistributor = 'content/customerInfo/add';

  /// 经销商详情
  static const String findDistributor = 'content/customerInfo/info';

  /// 修改经销商
  static const String updateDistributor = 'content/customerInfo/update';

  /// 删除经销商
  static const String deleteDistributor = 'content/customerInfo/delete';

  /// ///  /// /// ///
  /// 经销商订单列表
  /// ///  /// /// ///
  static const String distributorOrderList = 'content/customerInfo/purchase/page';

  /// 新增经销商订单
  static const String addDistributorOrder = 'content/customerInfo/purchase/add';

  /// 修改经销商订单
  static const String updateDistributorOrder = 'content/customerInfo/purchase/update';

  /// 删除经销商订单
  static const String deleteDistributorOrder = 'content/customerInfo/purchase/delete';

  /// ///  /// /// ///
  /// 经销商协销列表
  /// ///  /// /// ///
  static const String distributorAssistList = 'content/customerInfo/assist/page';

  /// 新增经销商协销记录
  static const String addDistributorAssist = 'content/customerInfo/assist/add';

  /// 删除经销商协销记录
  static const String deleteDistributorAssist = 'content/customerInfo/assist/delete';

  /// 修改经销商协销记录
  static const String updateDistributorAssist = 'content/customerInfo/assist/update';

  /// ///  /// /// ///
  /// 经销商参会列表
  /// ///  /// /// ///
  static const String distributorConferenceList = 'content/customerInfo/conference/page';

  /// 新增经销商参会记录
  static const String addDistributorConference = 'content/customerInfo/conference/add';

  /// 删除经销商参会记录
  static const String deleteDistributorConference = 'content/customerInfo/conference/delete';

  /// 修改经销商参会记录
  static const String updateDistributorConference = 'content/customerInfo/conference/update';

  /// ///  /// /// ///
  /// 经销商出库列表
  /// ///  /// /// ///
  static const String distributorOutboundList = 'content/customerDeliverOrder/page';

  /// 新增经销商出库记录
  static const String addDistributorOutbound = 'content/customerDeliverOrder/add';

  /// 删除经销商出库记录
  static const String deleteDistributorOutbound = 'content/customerDeliverOrder/delete';

  /// 修改经销商出库记录
  static const String updateDistributorOutbound = 'content/customerDeliverOrder/update';
}
